package examples;

public class Rex {
    public static void main(String[] args) {
        String[] rex= {
                "\\d java[\0-Z]",
                "(13[0-9]|15[0-9]|18[5-9])\\d{8}"
        };
        String msg1="1 java+";
        boolean rs1=msg1.matches(rex[0]);
        System.out.println(rs1);
    }
}
